<template>
  <div>
    <el-row class="tac">
      <el-col :span="24">
        <h5>xxx后台管理系统</h5>
        <!-- router 是el-menu的属性，开启后才可以当做路由跳转 -->
        <el-menu
          default-active="2"
          class="el-menu-vertical-demo"
          background-color="#545c64"
          text-color="#fff"
          active-text-color="#ffd04b"
          router
        >
          <el-submenu index="1">
              <!-- 具名插槽，名字是title。子组件中有<slot name="title"></slot> -->
            <template slot="title">
              <i class="el-icon-location"></i>
              <span>角色管理</span>
            </template>
            <el-menu-item-group>
              <el-menu-item index="/role">角色列表</el-menu-item>
              <el-menu-item index="/ssss">权限列表</el-menu-item>
            </el-menu-item-group>
          </el-submenu>
        </el-menu>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {};
</script>

<style>
</style>